JavaScript Regular Expressions by 2015
Author:2015
Language: eng
Format: epub, mobi
Publisher: Packt Publishing
Published: 2015-07-31T16:00:00+00:00
All the groups we have seen so far have been capture groups, and they tell Regexp to extract this portion of the pattern into its own variable. However, there are other groups or uses for brackets that can be made to achieve even more functionality, the first of these is a non capture group.
Matching non capture groups
A non capture group groups a part of a pattern but it does not actually extract this data into the results array, or use it in back referencing. One benefit of this is that it allows you to use character modifiers on full sections in your pattern. For example, if we want to get a pattern that repeats world indefinitely, we can write it as this:
/(?:world)*/
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
| Coding Theory | Localization |
| Logic | Object-Oriented Design |
| Performance Optimization | Quality Control |
| Reengineering | Robohelp |
| Software Development | Software Reuse |
| Structured Design | Testing |
| Tools | UML |
The Mikado Method by Ola Ellnestam Daniel Brolund(20293)
Hello! Python by Anthony Briggs(19616)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(17888)
Dependency Injection in .NET by Mark Seemann(17854)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(17294)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(17207)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16926)
Kotlin in Action by Dmitry Jemerov(16847)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(15989)
Grails in Action by Glen Smith Peter Ledbrook(15158)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(10311)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(8048)
Microservices with Go by Alexander Shuiskov(7816)
Practical Design Patterns for Java Developers by Miroslav Wengner(7714)
Test Automation Engineering Handbook by Manikandan Sambamurthy(7664)
Angular Projects - Third Edition by Aristeidis Bampakos(7147)
The Art of Crafting User Stories by The Art of Crafting User Stories(6602)
NetSuite for Consultants - Second Edition by Peter Ries(6528)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(6304)